package com.sky.service;

import com.sky.po.AddressBookPO;

import java.util.List;

public interface AddressBookService {

    List<AddressBookPO> list(Long currentId,Boolean isDefault);

    void save(AddressBookPO addressBook);

    AddressBookPO getById(Long id);

    void update(AddressBookPO addressBook);

    void setDefault(AddressBookPO addressBook);

    void deleteById(Long id);
}
